package com.aiiter.house.domain;

import java.math.BigDecimal;
import java.util.List;
import java.util.Date;

import com.aiiter.house.domain.HouseChargeItem;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.aiiter.common.annotation.Excel;
import com.aiiter.common.core.domain.BaseEntity;

/**
 * 账单对象 house_billing_information
 *
 * @author ruoyi
 * @date 2024-09-24
 */
public class HouseBillingInformation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 账单ID */
    private Long billId;

    /** 合同ID */
    @Excel(name = "合同ID")
    private Integer houseContract;

    /** 账单创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "账单创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date billCreatedAt;

    /** 账单总金额 */
    @Excel(name = "账单总金额")
    private BigDecimal totalAmount;

    /** 支付时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "支付时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date paymentDate;

    /** 支付凭证 */
    @Excel(name = "支付凭证")
    private String paymentProof;

    /** 逻辑删除 */
    @Excel(name = "逻辑删除")
    private String isDelete;

    /** 账单明细信息 */
    private List<HouseChargeItem> houseChargeItemList;

    public void setBillId(Long billId)
    {
        this.billId = billId;
    }

    public Long getBillId()
    {
        return billId;
    }
    public void setHouseContract(Integer houseContract)
    {
        this.houseContract = houseContract;
    }

    public Integer getHouseContract()
    {
        return houseContract;
    }
    public void setBillCreatedAt(Date billCreatedAt)
    {
        this.billCreatedAt = billCreatedAt;
    }

    public Date getBillCreatedAt()
    {
        return billCreatedAt;
    }
    public void setTotalAmount(BigDecimal totalAmount)
    {
        this.totalAmount = totalAmount;
    }

    public BigDecimal getTotalAmount()
    {
        return totalAmount;
    }
    public void setPaymentDate(Date paymentDate)
    {
        this.paymentDate = paymentDate;
    }

    public Date getPaymentDate()
    {
        return paymentDate;
    }
    public void setPaymentProof(String paymentProof)
    {
        this.paymentProof = paymentProof;
    }

    public String getPaymentProof()
    {
        return paymentProof;
    }
    public void setIsDelete(String isDelete)
    {
        this.isDelete = isDelete;
    }

    public String getIsDelete()
    {
        return isDelete;
    }

    public List<HouseChargeItem> getHouseChargeItemList()
    {
        return houseChargeItemList;
    }

    public void setHouseChargeItemList(List<HouseChargeItem> houseChargeItemList)
    {
        this.houseChargeItemList = houseChargeItemList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("billId", getBillId())
                .append("houseContract", getHouseContract())
                .append("billCreatedAt", getBillCreatedAt())
                .append("totalAmount", getTotalAmount())
                .append("paymentDate", getPaymentDate())
                .append("paymentProof", getPaymentProof())
                .append("isDelete", getIsDelete())
                .append("houseChargeItemList", getHouseChargeItemList())
                .toString();
    }
}
